package net.apexes.demo.codegen.dslite.entity;


/**
 * GoodsFeature. the database table "GOODS_FEATURE"
 */
public class GoodsFeature extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * GOODS_ID
     */
    private String goodsId;

    /**
     * GOODS_BASE_ID
     */
    private String goodsBaseId;

    /**
     * FEATURE_ID
     */
    private String featureId;

    /**
     * FEATURE_GROUP_ID
     */
    private String featureGroupId;

    /**
     * TEMPLATE_ID
     */
    private String templateId;

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsBaseId() {
        return goodsBaseId;
    }

    public void setGoodsBaseId(String goodsBaseId) {
        this.goodsBaseId = goodsBaseId;
    }

    public String getFeatureId() {
        return featureId;
    }

    public void setFeatureId(String featureId) {
        this.featureId = featureId;
    }

    public String getFeatureGroupId() {
        return featureGroupId;
    }

    public void setFeatureGroupId(String featureGroupId) {
        this.featureGroupId = featureGroupId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public void cloneFrom(GoodsFeature from) {
        this.goodsId = from.goodsId;
        this.goodsBaseId = from.goodsBaseId;
        this.featureId = from.featureId;
        this.featureGroupId = from.featureGroupId;
        this.templateId = from.templateId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",goodsId=").append(goodsId);
        sb.append(",goodsBaseId=").append(goodsBaseId);
        sb.append(",featureId=").append(featureId);
        sb.append(",featureGroupId=").append(featureGroupId);
        sb.append(",templateId=").append(templateId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

